owner = MLC
controller = MLC
culture = malayan
religion = sunni
capital = "0000"  # Malacca
trade_goods = spices
hre = no
base_tax = 7
base_production = 7
base_manpower = 3
is_city = yes
add_core = MLC
discovered_by = chinese
discovered_by = indian
discovered_by = muslim
discovered_by = ottoman
extra_cost = 16
center_of_trade = 2
1509.1.1 = {
  discovered_by = POR
}
1511.9.10 = {
  owner = POR
  controller = POR
  unrest = 8
  add_to_trade_company = POR
  add_trade_company_investment = {
    investment = permanent_quarters
    investor = POR
  }
  add_trade_company_investment = {
    investment = company_depot
    investor = POR
  }
  add_trade_company_investment = {
    investment = admiralty
    investor = POR
  }
  add_trade_company_investment = {
    investment = district
    investor = POR
  }
  add_trade_company_investment = {
    investment = company_administration
    investor = POR
  }
}
1519.1.1 = {
  fort_15th = yes
}
1526.1.1 = {
  unrest = 0
}
1536.9.10 = {
  add_core = POR
}
1641.1.14 = {
  owner = NED
  controller = NED
  add_core = NED
  remove_core = POR
  add_to_trade_company = NED
  add_trade_company_investment = {
    investment = permanent_quarters
    investor = NED
  }
  add_trade_company_investment = {
    investment = company_depot
    investor = NED
  }
  add_trade_company_investment = {
    investment = admiralty
    investor = NED
  }
  add_trade_company_investment = {
    investment = district
    investor = NED
  }
  add_trade_company_investment = {
    investment = company_administration
    investor = NED
  }
}
1795.1.1 = {
  owner = GBR
  controller = GBR
  remove_core = NED
  fort_15th = no
  add_to_trade_company = GBR
  add_trade_company_investment = {
    investment = permanent_quarters
    investor = GBR
  }
  add_trade_company_investment = {
    investment = company_depot
    investor = GBR
  }
  add_trade_company_investment = {
    investment = admiralty
    investor = GBR
  }
  add_trade_company_investment = {
    investment = district
    investor = GBR
  }
  add_trade_company_investment = {
    investment = company_administration
    investor = GBR
  }
}
1820.1.1 = {
  add_core = GBR
}